package com.example.cnedujnux2022103715;
import java.util.Arrays;
public class ArrayGenerator {
    public static int[] generate(int testCase) {
        switch (testCase) {
            case 1:
                return new int[20];
            case 2:
                int[] arr2 = new int[20];
                Arrays.fill(arr2, 1);
                return arr2;
            case 3:
                int[] arr3 = new int[20];
                arr3[0] = 2;
                arr3[1] = 8;
                arr3[2] = 1;
                arr3[3] = 2;
                return arr3;
            case 4:
                int[] arr4 = new int[20];
                arr4[0] = 10;
                arr4[1] = 10;
                arr4[2] = 1;
                arr4[3] = 1;
                return arr4;
            case 5:
                int[] arr5 = new int[12];
                Arrays.fill(arr5, 10);
                return arr5;
            default:
                return null;
        }
    }
}